home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20010921-20020314
/
000273_unix-rlz@_mail9ndn3ws_._com_Mon Dec 31 11:21:30 EST 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
5KB
|
114 lines
Article: 13103 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.md.home.com.POSTED!not-for-mail
Message-ID: <3C2FE2B3.70A8CAC1@_mail9ndn3ws_._com>
From: Ben <unix-rlz@_mail9ndn3ws_._com>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.sys.sun.admin,comp.unix.solaris,comp.sys.sun.hardware,comp.protocols.kermit.misc
Subject: Re: Sun Serial-Ports (and GPS)
References: <3C2F3EFB.DE0DF5@_mail9ndn3ws_._com> <3C2F7281.18204EC5@_mail9ndn3ws_._com> <a0nul4$5gb$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 92
Date: Mon, 31 Dec 2001 03:59:47 GMT
NNTP-Posting-Host: 24.39.152.250
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.md.home.com 1009771187 24.39.152.250 (Sun, 30 Dec 2001 19:59:47 PST)
NNTP-Posting-Date: Sun, 30 Dec 2001 19:59:47 PST
Organization: Excite@Home - The Leader in Broadband http://home.com/faster
Xref: newsmaster.cc.columbia.edu comp.sys.sun.admin:182438 comp.unix.solaris:367926 comp.sys.sun.hardware:115647 comp.protocols.kermit.misc:13103
Frank da Cruz wrote:
>
> In article <3C2F7281.18204EC5@_mail9ndn3ws_._com>,
> Ben <unix-rlz@_mail9ndn3ws_._com> wrote:
>
> : > I've got a Garmin GPS 40 which I'm trying to get working on an E-450
> : > (and a 420R) under Solaris 8 and I'm not getting any serial I/O. At
> : > this point if I could simply see NMEA strings via 'tip' that would be
> : > great. I know the NMEA output is not a great time-source by itself.
> : >
> : > The GPS unit basically runs at 4800,8,n,1. I've disabled the ttymon
> : > service to the ports I've tried, tried tweaking the OBP port settings,
> : > and I can't get any strings.
>
> You have to consider at least the following:
>
> 1. Making sure the serial port is configured, set up, enabled, etc.
> This is Solaris sysadmin stuff.
Yep.
>
> 2. Using the appropriate "name" (driver) for the serial port; each
> serial port might have several drivers for different purposes:
> ranging from full modem control to three-wire (no modem control).
No. I'm going to try that ASAP. Won't be for a couple days unless I
can sneak away without my wife catching me .... ;)
>
> 3. Using an appropriate cable.
As soon as I can, I'm going to try the Garmin cable direct with the one
9-pin<-->25-pin adapter
>
> 4. Making sure the serial port is not owned by getty (i.e. not waiting
> for incoming login connections) or any other process.
Yes. Did that. Also, I've been trying to use /dev/term/.. rather than
/dev/cua/.. as other posters have suggested. I'll give it a whiz.
>
> 5. Picking the best software for the job.
Tried all kinds of serial-port comm. tools. 'tip', Kermit, Minicom,
head, ...
Tried Sun's packaged xntpd and compiled the latest stable release
available from ntp.org.
>
> You've received a number of answers on 1-4. For further info look at:
>
> http://www.stokely.com/unix.serial.port.resources
>
> Once you have items 1-4 sorted out, you might want to take a look at
> C-Kermit as the control software:
>
> http://www.columbia.edu/kermit/ckermit.html
>
> It gives you every conceivable control over communications parameters
> (speed, parity, use/don't-use modem signals, data size, stop bits, flow
> control...) Flow control is, of course, an issue. If the GPS is spewing
> out info constantly, how is the Sun going to tell it to stop (for example
> because nobody is listening at the moment and the device input buffer is
> full)? The common options are RTS/CTS (hardwire, requires the appropriate
> connections in the cable) and Xon/Xoff (software, special control characters
> in line with the data).
> If the GPS offers no mechanism for flow control,
> you'll need a process constanty reading from it.
hopefully xntpd will take care of that end of things ... point noted
though!
>
> Anyway, once you are able to see the GPS messages, then you can program
> Kermit (using its script language) to process the messages and do whatever
> you like with them: log them to a file, accumulate statistics, send alerts
> by email, pager, or whatever. To get started with Kermit scripting, see:
>
> http://www.columbia.edu/kermit/ckscripts.html
Thanks!
>
> - Frank